package com.ruoyi.quality.domain;

import com.ruoyi.safe.domain.vo.BizSafeDocAttachVO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 质量问题文件对象 t_quality_file
 * 
 * @author mahl2
 * @date 2024-02-05
 */
public class TQualityFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 发送单位类型：业主检查、监理检查等 */
    @Excel(name = "发送单位类型", dictType = "list_quality_file_type")
    private String fileType;

    /** 发文单位 */
    @Excel(name = "发文单位")
    private String fileCompanyName;

    /** 文件分类：日常巡检、月度巡检等 */
    @Excel(name = "文件分类", dictType = "list_quality_file_item_type")
    private String fileItem;

    /** 文件存储地址 */
    private String fileInfo;

    /** 资料文档附件列表 */
    private List<BizSafeDocAttachVO> fileDocAttachList;

    /** 文件上传时间 */
    @Excel(name = "文件上传时间")
    private String fileUpTime;

    /** 文件上传时间查询条件 */
    private String fileUpTimeStart;
    private String fileUpTimeEnd;

    /** 发文日期 */
    @Excel(name = "发文日期")
    private String fileSubTime;

    /** 要求整改时间 */
    @Excel(name = "要求整改时间")
    private String fileRectificationTime;

    /** 拆分问题数量 */
    @Excel(name = "拆分问题数量")
    private Long fileItemCount;

    /** 是否逾期 0、未逾期 1、已逾期 */
    @Excel(name = "是否逾期", dictType = "list_quality_overdue_status")
    private String fileBeOverdueStatus;

    /** 项目id，当前质量文件归属于哪个项目 */
    private Long projectId;

    /** 项目名称，当前质量文件归属于哪个项目 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private String fileCode;

    /** 质量问题总数 */
    @Excel(name = "质量问题总数")
    private String qualityNum;

    /** 质量问题完成数 */
    @Excel(name = "质量问题完成数")
    private String qualityOverNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileItem(String fileItem) 
    {
        this.fileItem = fileItem;
    }

    public String getFileItem() 
    {
        return fileItem;
    }
    public void setFileInfo(String fileInfo) 
    {
        this.fileInfo = fileInfo;
    }

    public String getFileInfo() 
    {
        return fileInfo;
    }

    public List<BizSafeDocAttachVO> getFileDocAttachList() {
        return fileDocAttachList;
    }

    public void setFileDocAttachList(List<BizSafeDocAttachVO> fileDocAttachList) {
        this.fileDocAttachList = fileDocAttachList;
    }

    public String getFileCompanyName() {
        return fileCompanyName;
    }

    public void setFileCompanyName(String fileCompanyName) {
        this.fileCompanyName = fileCompanyName;
    }

    public void setFileUpTime(String fileUpTime)
    {
        this.fileUpTime = fileUpTime;
    }

    public String getFileUpTime() 
    {
        return fileUpTime;
    }

    public String getFileUpTimeStart() {
        return fileUpTimeStart;
    }

    public void setFileUpTimeStart(String fileUpTimeStart) {
        this.fileUpTimeStart = fileUpTimeStart;
    }

    public String getFileUpTimeEnd() {
        return fileUpTimeEnd;
    }

    public void setFileUpTimeEnd(String fileUpTimeEnd) {
        this.fileUpTimeEnd = fileUpTimeEnd;
    }

    public void setFileSubTime(String fileSubTime)
    {
        this.fileSubTime = fileSubTime;
    }

    public String getFileSubTime() 
    {
        return fileSubTime;
    }
    public void setFileRectificationTime(String fileRectificationTime) 
    {
        this.fileRectificationTime = fileRectificationTime;
    }

    public String getFileRectificationTime() 
    {
        return fileRectificationTime;
    }
    public void setFileItemCount(Long fileItemCount) 
    {
        this.fileItemCount = fileItemCount;
    }

    public Long getFileItemCount() 
    {
        return fileItemCount;
    }
    public void setFileBeOverdueStatus(String fileBeOverdueStatus) 
    {
        this.fileBeOverdueStatus = fileBeOverdueStatus;
    }

    public String getFileBeOverdueStatus() 
    {
        return fileBeOverdueStatus;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getQualityNum() {
        return qualityNum;
    }

    public void setQualityNum(String qualityNum) {
        this.qualityNum = qualityNum;
    }

    public String getQualityOverNum() {
        return qualityOverNum;
    }

    public void setQualityOverNum(String qualityOverNum) {
        this.qualityOverNum = qualityOverNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("fileCompanyName", getFileCompanyName())
            .append("fileItem", getFileItem())
            .append("fileInfo", getFileInfo())
            .append("fileUpTime", getFileUpTime())
            .append("fileUpTimeStart", getFileUpTimeStart())
            .append("fileUpTimeEnd", getFileUpTimeEnd())
            .append("fileSubTime", getFileSubTime())
            .append("fileRectificationTime", getFileRectificationTime())
            .append("fileItemCount", getFileItemCount())
            .append("fileBeOverdueStatus", getFileBeOverdueStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("fileCode", getFileCode())
            .append("qualityNum", getQualityNum())
            .append("qualityOverNum", getQualityOverNum())
            .toString();
    }
}
